Skip to main content

newEPS

Type

message

Summary

Sent to a new EPS object right after it's created.

Syntax

newEPS

Description

Handle the newEPS message if you want to create additional objects, switch tools, or do other tasks when a new EPS object is created.

Normally, the newEPS message is handled at a higher level of the message path, since the newly-created EPS object does not yet have a script unless the templateEPS contains one.

The actual creation is not triggered by the newEPS message, so trapping the message and not allowing it to pass does not prevent the EPS object from being created.

Examples

on newEPS -- warn the user if not supported
if the platform is "MacOS" or the platform is "Win32" then
answer "EPS objects are not supported on this system." with "Sorry"
end if
end newEPS

command: copy, clone, paste

control structure: pass

glossary: object, trap, EPS, message, tool, message path

property: script

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?